/*
 *    Copyright (c) 2018-2025, boss All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the boss developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 * Author: boss
 */

package com.hopes.bizz.basic.hazard.source.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.hopes.bizz.common.core.annotation.ExcelDictValidate;
import com.hopes.boss.common.entity.ExcelVO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 重大危险源评价报告
 *
 * @author daijie
 * @date 2023-11-06 11:31:29
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ColumnWidth(30)
public class HazEvaluationReportExcelVO extends ExcelVO {

    private static final long serialVersionUID = 1L;


	/**
	* 危险源标识
	*/
    @ExcelProperty("危险源标识")
	@ExcelDictValidate(enumResolver = "hazard_source")
    private String hazardSourceIdStr;

	/**
	* 报告类型
	*/
    @ExcelProperty("报告类型")
	@ExcelDictValidate(enumResolver = "hazard_report_type")
    private String hazardReportTypeStr;

	/**
	* SIL等级
	*/
    @ExcelProperty("SIL等级")
    private Integer silLevel;

	/**
	* 报告名称
	*/
    @ExcelProperty("报告名称")
    private String name;

	/**
	* 评估日期
	*/
    @ExcelProperty("评估日期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date evaluationDate;

	/**
	* 有效期
	*/
    @ExcelProperty("有效期")
	@DateTimeFormat("yyyy-MM-dd")
    private Date validityDate;


	/**
	* 状态
	*/
    @ExcelProperty("状态")
	@ExcelDictValidate(enumResolver = "hazard_report_status")
    private Integer statusStr;

}
